package com.xsf.spring.cloud.alibaba.provider.controller;

import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ProviderController {
    @RequestMapping("/echo/{str}")
    public String echo(@PathVariable("str") String str) {
        return "I am Provider ,Hello " + str;
    }
}
